home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 1 / The 640 Meg Shareware Studio CD-ROM Volume I (Data Express)(1992).ISO / driver / macpab2.dsk / MACPA2.ZIP / MAAPI / RECORD.H < prev    next >
Text File  |  1992-06-30  |  6KB  |  92 lines

  1. /*********************************************************************/
  2. /*                                     */
  3. /*  INCLUDE NAME = record.h                         */
  4. /*                                     */
  5. /*  DESCRIPTIVE NAME = AAPI Recording Example messages             */
  6. /*                                     */
  7. /*  COPYRIGHT = (C) Copyright IBM Corp. 1991.                 */
  8. /*        All rights reserved.                     */
  9. /*        Refer to "LICENSE.DOC" for information regarding     */
  10. /*        the use of this file.                     */
  11. /*                                     */
  12. /*                                     */
  13. /* Unless otherwise specified all messages are restricted to a         */
  14. /* maximum length of 80 visual characters per line.  Messages may    */
  15. /* span multiple lines by inserting carriage return/linefeed (\r\n)  */
  16. /* characters into the message. Total number of characters in the    */
  17. /* message is restricted to 256.                     */
  18. /*                                     */
  19. /*********************************************************************/
  20. #define M_1 "Enter new file name for recording ===> "
  21. #define M_2 "\n        Press any other key to stop......\n\r\n"
  22. #define M_3 "Insufficient storage to complete operation.\n"
  23. #define M_4 "\r\n\nOpen failed, file already exists.\r\n\n"
  24. #define M_5 "\r\n\nOpen failed, file does not exist."
  25. #define M_6 "\r\n\nGeneral error on file.\r\n\n"
  26. #define M_7 "\r\n\nGeneral error on escape file.\r\n\n"
  27. #define M_8 "DSP not responding.\n"
  28. #define M_9 "Audio card software not installed (IBMxxxx.DSP).\n"
  29. #define M_10 "Audio card software damaged or invalid (IBMxxxx.DSP).\n"
  30. #define M_11 "Audio card not installed.\n"
  31. #define M_12 "Audio device driver not installed or in use.\n"
  32. /*********************************************************************/
  33. /*  M-13 - Variable %d can expand to 4 visual characters.         */
  34. /*********************************************************************/
  35. #define M_13 "Error, can not continue -  AAPI rc = %d\n"
  36. /*********************************************************************/
  37. /*  M-14 - Message M_43 is appended to this message.             */
  38. /*       Maximum length is 60 characters or a new line         */
  39. /*       must be started.                         */
  40. /*********************************************************************/
  41. #define M_14 "Recording time\\volume\\balance = "
  42. #define M_15 "\nDisk is full.\n"
  43. #define M_16 "\nAudio object is at maximum size.\n"
  44. #define M_17 "\nRecording media too slow or fragmented.\n"
  45. #define M_18 "Start or stop position invalid.\n"
  46. #define M_19 " File type                                (1=AVC, Enter=RIFF) ==> "
  47. #define M_20 " Desired sample rate  (0=8000, Enter=11025, 2=22050, 3=44100) ==> "
  48. #define M_21 " Sample width in bits                (Enter=eight, 1=sixteen) ==> "
  49. #define M_22 " Number of channels                    (Enter=mono, 2=stereo) ==> "
  50. #define M_23 " AVC mode  (Enter=music, 2=voice, 3=stereo music, 4=HQ music) ==> "
  51. #define M_24 " Input Source (0=mic, 1=left, 2=right, Enter=both, 4=low-mic) ==> "
  52. #define M_25 " Monitor mode       (0=off, 1=compressed, Enter=uncompressed) ==> "
  53. #define M_26 " Monitor mode                     (0=off, Enter=uncompressed) ==> "
  54. #define M_27 " Format                 (Enter=Linear PCM, 2=mu-law, 3=A-law) ==> "
  55. #define M_28 " Dither                                 (0-100 : Enter =  33) ==> "
  56. #define M_29 " Master Volume                          (0-120 : Enter = 100) ==> "
  57. #define M_30 " Fade to Volume                         (0-100 : Enter = 100) ==> "
  58. #define M_31 " Length of fade in seconds             (0 - 64 : Enter =   0) ==> "
  59. #define M_32 " Balance                   (0=Left - 100=Right : Enter =  50) ==> "
  60. #define M_33 " Length of pan in  seconds             (0 - 64 : Enter =   0) ==> "
  61. #define M_34 " Display volume/balance choices        (1 = yes, Enter =  no) ==> "
  62. #define M_35 " Display other option choices          (1 = yes, Enter =  no) ==> "
  63. #define M_36 " PS/2 speaker (right channel only)     (1 = on,  Enter = off) ==> "
  64. #define M_37 " Signal processor track       (1 or 2, Enter = any available) ==> "
  65. #define M_38 "\nPress F1 to start/pause/resume\n\r"
  66. #define M_39 "\nUse the keys below to control volume/balance\n\r"
  67. #define M_40 "    Cursor keys        -  Volume/Balance \n\r"
  68. #define M_41 "    Home, End          -  Pans left/right over 7 seconds \n\r"
  69. #define M_42 "    Page Up, Page Down -  Fades up/down over 7 seconds\n\r"
  70. /*********************************************************************/
  71. /*  M-43 - Variables represent                         */
  72. /*          Playing Time, Volume, Balance                 */
  73. /*  This message is appended to M_14.                     */
  74. /*  Message can expand to a maximum of 20 visual characters.         */
  75. /*********************************************************************/
  76. #define M_43 "%lu %d %d       \r"
  77. #define M_44 " Invalid value, try again or Ctrl Break to exit\n\r"
  78. /*********************************************************************/
  79. /*  M-45 - Message M_46 is appended to this message.             */
  80. /*       Maximum length is 70 characters or a new line         */
  81. /*       must be started.                         */
  82. /*********************************************************************/
  83. #define M_45 "Recording time = "
  84. /*********************************************************************/
  85. /*  M-46 - Variable represents Recording Time                 */
  86. /*  This message is appended to M_45.                     */
  87. /*  Message can expand to a maximum of 10 visual characters.         */
  88. /*********************************************************************/
  89. #define M_46 "%lu     \r"
  90. #define M_47 "\nM-ACPA Audio API Sample Record Program \n\r"
  91. #define M_48 "(C) Copyright IBM Corp. 1991 - All rights reserved.\n\r\n"
  92.